package com.xgjweb.fsi.service;

import java.util.List;

import com.xgjweb.fsi.domain.Message;
import com.xgjweb.fsi.dto.MessageDto;

public interface IMessageService {
	/**
	 * 查旬留言
	 */
	public List<Message> queryMessage(Message message) throws Exception;

	/**
	 * 添加留言
	 * 
	 * @param message
	 * @return
	 * @throws Exception
	 */
	public List<Message> addMessage(Message message) throws Exception;

	/**
	 * 查找留言
	 * 
	 * @return
	 * @throws Exception
	 */
	public MessageDto findMessageIndex() throws Exception;

	/**
	 * 删除留言
	 * 
	 * @return
	 * @throws Exception
	 */
	public Boolean deleteMessage(Message message) throws Exception;

}
